package net.sky.oa.service.docs.impl;


import java.util.List;

import javax.annotation.Resource;

import net.sky.oa.dao.docs.DocFolderDao;
import net.sky.oa.model.DocFolder;
import net.sky.oa.service.docs.DocFolderService;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.htsoft.core.service.impl.BaseServiceImpl;
@Service
@Transactional
public class DocFolderServiceImpl extends BaseServiceImpl<DocFolder> implements
		DocFolderService {
	
	private DocFolderDao dao;
	
	@Resource
	public void setDao(DocFolderDao dao) {
		super.setDao(dao);
		this.dao = dao;
	}


	public List<DocFolder> findByParentId(int type,Long deptId,Long userId, Long parentId){
		return dao.findByParentId(type,deptId,userId, parentId);
	}
	
	
	
}
